<!DOCTYPE html>
<head>
	<meta charset="UTF-8">
	<title></title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0,user-scalable=no">
	<link rel="stylesheet" href="__PUBLIC__/css/style_wx.css">
	<link rel="stylesheet" href="__PUBLIC__/css/style_ng.css">
	<script type="text/javascript" src="__PUBLIC__/js/jquery-1.11.3.min.js"></script>
	<script src="__PUBLIC__/js/base64en_de.js"></script>
	<script src="__PUBLIC__/js/common.js"></script>
	<script src="__PUBLIC__/js/layer.m/layer.m.js"></script>
</head>
<style>
	.bannerbaowei{
		height:150px
	}
	.center5585{
		background-color:#ffffff
	}
</style>
<html>
<body style="position:relative">
	<div id="middle_content">
		<iframe src="<{$url}>" style="height:600px;margin-top:45px;border:0px;margin-left:10px" id="iframe"></iframe>
	</div>
	<div class="kkfoot2" style="position:fixed;top:0px;right:0px;margin-top:10px;display:inline-block">
		<input readOnly="true" class="subbtn1999" value="取消" style="text-align:center" onclick="go_back()">
		<input readOnly="true"  id="success" onclick="success_edit()" class="subbtn1988" value="编辑" style="text-align:center">
	</div>
	<input type="hidden" name="file_put" value="<{$url}>">
</body>
</html>

<script>

	$(function (){
		var width = $(window).width();
		$('#iframe').css('width',width-20);
	});

	//点击编辑
	function success_edit(){
		var url = $('[name="file_put"]').val();
		if (url == '')
		{
			layer.open({
   	            content:'链接不能为空',
            });
			return false;
		}
		url = base64en(url);
		window.location.href = "__MODULE__/Article/file_put/?url="+url;
	}
	//返回上一层
	function go_back(){
		window.location.href = "__MODULE__/Index/";
	}
</script>


